/**
 * 
 */
package com.ap.core.business.message.validation.handler.impl;

import com.ap.core.business.message.domain.translators.BindingMetaData;
import com.ap.core.business.message.validation.handler.AbstractValidationHandler;
import com.ap.core.message.manageconsumer.info.RequestRetrieveConsumerDetailsTypeInfo;
import com.ap.core.validation.message.info.MessageValidationInfo;
import com.ap.core.validation.message.info.OriginalInfo;

/**
 * The Class RetrieveConsumerDetailsValidationHandler.
 *
 * @author Siva.Pochana
 */
public class RetrieveConsumerDetailsValidationHandler extends
		AbstractValidationHandler<RequestRetrieveConsumerDetailsTypeInfo, OriginalInfo> {

	/* (non-Javadoc)
	 * @see com.ap.core.business.message.validation.handler.AbstractValidationHandler#getMessageValidationInfo(com.ap.core.message.info.RequestMessageInfo, com.ap.core.business.message.domain.translators.BindingMetaData)
	 */
	@Override
	protected MessageValidationInfo<RequestRetrieveConsumerDetailsTypeInfo, OriginalInfo> getMessageValidationInfo(
			final RequestRetrieveConsumerDetailsTypeInfo request,
			BindingMetaData metaData) {
		 return new MessageValidationInfo<RequestRetrieveConsumerDetailsTypeInfo, OriginalInfo>() {

			@Override
			public RequestRetrieveConsumerDetailsTypeInfo getBoundObject() {
				return request;
			}

			@Override
			public OriginalInfo getOriginalInfo() {
				return null;
			}
			 
		 };
	}
}
